﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZhiAo.CoreLibrary
{
    public class PlatformInfo
    {
        /// <summary>
        /// 开发模式-相关的程序实现将有利于调试
        /// </summary>
        public static bool DevelopMode { get; set; }

        /// <summary>
        /// 动态UI数据是否来源于本地XML文件
        /// </summary>
        public static bool DevFactoryFromXML { get; set; }

        /// <summary>
        /// 统一权限平台
        /// </summary>
        public static bool ECIAuthority { get; set; }

        /// <summary>
        /// 系统编号
        /// </summary>
        public static string SystemCode { get; set; }

        /// <summary>
        /// 机构编号
        /// </summary>
        public static string NodeCode { get; set; }

        /// <summary>
        /// 数据库类型：Oracle  Sql
        /// </summary>
        public static DBType DBType { get; set; }

        /// <summary>
        /// orcale条件下得到sql语句
        /// </summary>
        public static bool OrcaleToSql { get; set; }
    }

    public enum DBType
    {
        Oracle,
        SqlServer
    }
}
